
.voiceCombine {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  gap: 16px;

  .voiceCombineTitle {
    width: 100%;
    height: 24px;
    font-family: Abel;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(255, 255, 255, 1);
  }

  .voiceCombineTools {
    height: 56px;
    width: 100%;
    border-radius: 12px;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: 'border-box';
    display: flex;
    flex-direction: row;

    .roles {
      display: flex;
      flex-direction: row;
      gap: 8px;

      .label {
        font-family: Alibaba PuHuiTi 2.0;
        font-weight: 300;
        font-style: 45 Light;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 5%;
        color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .rolesInput {
        display: inline-block;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        height: 32px;
        width: 200px;

        :global(.arco-input-inner-wrapper){
          border: none;
        }

        :global(.arco-input-group-addbefore) {
          border: none;
        }

        :global(.arco-input-group-addafter) {
          border: none;
        }
      }
    }

    .roleSelectItem {
      width: 160px;
      height: 32px;
      border-radius: 8px;
      padding: 6px 10px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      
      :global(.arco-input) {
        &:focus {
          border: none;
          border-color: unset;
          background-color: unset;
        }
      }
      :global(.arco-input-focus) {
        border-color: unset;
        background-color: unset;
      }

      .roleTitle {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;

        .roleIcon {
          width: 8px;
          height: 8px;
          border-radius: 2px;
          background-color: rgba(120, 232, 210, 1);
        }

        :global(.roles1) {
          background-color: rgba(64, 179, 156, 1);
        }
        :global(.roles2) {  
          background-color: rgba(138, 120, 232, 1);
        }
        :global(.roles3) {
          background-color: rgba(178, 120, 232, 1);
        }
        :global(.roles4) {
          background-color: rgba(53, 146, 185, 1);
        }
        :global(.roles5) {
          background-color: rgba(91, 172, 66, 1);
        }
        :global(.roles6) {
          background-color: rgba(177, 177, 66, 1);
        }

        .title {
          font-family: PingFang SC;
          font-weight: 400;
          font-style: Regular;
          font-size: 14px;
          line-height: 22px;
          letter-spacing: 0%;
          vertical-align: middle;
          color: rgba(255, 255, 255, 1);
        }
      }

      .roleHandle {
        display: flex;
        align-items: center;
        justify-content: center;

        :global(.arco-image) {
          height: 16px;
          width: 16px;
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
    }

    :global(.firstRole) {
      margin-left: auto;
    }

    .scaleHandle {
      display: flex;
      flex-direction: row;
      gap: 15px;
      align-items: center;

      :global(.arco-slider-button) {
        &::after {
          width: 6px;
          height: 11px;
          border-radius: 4px;
          background-color: rgba(255, 255, 255, 1);
          border: none;
        }
      }

      :global(.arco-slider-road) {
        &::before {
          height: 3px;
          background-color: rgba(0, 0, 0, 1);
          border-radius: 1000px;
        }
      }

      :global(.arco-slider-bar) {
        height: 3px;
        background-color: rgba(0, 0, 0, 1);
      }
    }
  }
  
  .voiceCombineTimeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow-x: auto;
    width: 100%;

    .timeLine {
      display: flex;
      flex-direction: row;
      height: 66px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      width: fit-content;
      position: relative; 

      .title {
        width: 200px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
      }

      .timeArea {
        padding: 12px;
        display: flex;
        flex-direction: row;
        overflow: hidden;
        align-items: center;
        width: fit-content;


        .timeUnit {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 42px;
          font-family: PingFang SC;
          font-weight: 400;
          font-style: Regular;
          font-size: 12px;
          line-height: 22px;
          letter-spacing: 0%;
          text-align: center;
          vertical-align: middle;
          color: rgba(255, 255, 255, 0.6);
          cursor: pointer;

          &:first-of-type {
            width: 20px;
            justify-content: flex-start;
          }
        }
      }

      .cursor {
        position: absolute;
        left: 224px;
        z-index: 9999;
        transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
      }
    }

    .rolesList {
      display: flex;
      flex-direction: column;
      gap: 16px;

      .roleItem {
        display: flex;
        flex-direction: row;
        height: 96px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        border-radius: 12px;

        .title {
          width: 200px;
          height: 100%;
          display: flex;
          flex-direction: row;
          justify-content: center;
          align-items: center;
          border-right: 1px solid rgba(255, 255, 255, 0.2);
          padding: 0 16px;
          border-radius: 12px 0 0 12px;
          gap: 12px;
          cursor: pointer;

          font-family: PingFang SC;
          font-weight: 400;
          font-size: 14px;
          line-height: 22px;
          vertical-align: middle;
          color: rgba(255, 255, 255, 1);

          .roleName {
            min-width: 80px;
          }
        }

        .timeFragments {
          position: relative;
          padding: 12px;
          box-sizing: border-box;

          .fragment {
            position: absolute;
            top: 32px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            height: 32px;
            padding: 0 10px;
            border-radius: 8px;
            
            .selectName {
              .select {
                border: none;

                :global(.arco-select-view) {
                  border: none;
                }
              }

              :global(.arco-select-focused) {
                :global(.arco-select-view) {
                  border: none;
                  background-color: unset;
                }
              }
              overflow: hidden;
            }

            .audioNum {
              width: 20px;
              height: 100%;
              overflow: hidden;

              .numText {
                width: 20px;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;

                .text {
                  width: 20px;
                  height: 20px;
                  background-color: rgba(0, 0, 0, 0.2);
                  border-radius: 1000px;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  color: rgba(255, 255, 255, 1);
                }
              }

              .selectAudioList {
                display: flex;
                flex-direction: column;
                gap: 16px;
                width: 800px;
                border-radius: 12px;
                padding: 24px;
                gap: 16px;
                opacity: 1;
                background-color: rgba(23, 22, 26, 1);
                border: 1px solid rgba(255, 255, 255, 0.2);

                .rolesItem {
                  display: flex;
                  flex-direction: row;
                  align-items: center;
                  gap: 10px;
                  height: 48;
                  border-radius: 12px;
                  padding: 12px;
                  gap: 10px;
                  opacity: 1;
                  border: 1px solid rgba(255, 255, 255, 0.2);
                  // :global(.arco-radio) {
                  //   display: flex;
                  //   flex-direction: row;
                  //   align-items: center;
                  //   justify-content: center;
                  // }
                }
              }
            }
          }

          :global(.roles1) {
            background-color: rgba(64, 179, 156, 1);
          }
          :global(.roles2) {  
            background-color: rgba(138, 120, 232, 1);
          }
          :global(.roles3) {
            background-color: rgba(178, 120, 232, 1);
          }
          :global(.roles4) {
            background-color: rgba(53, 146, 185, 1);
          }
          :global(.roles5) {
            background-color: rgba(91, 172, 66, 1);
          }
          :global(.roles6) {
            background-color: rgba(177, 177, 66, 1);
          }
        }
      }

      :global(.is-active) {
        .title {
          background-color: rgba(52, 114, 255, 1);
        }
      }
    }
  }

  .footerHandle {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
    width: 100%;
    gap: 50px;

    .humanAudioSplit {
      :global(.arco-checkbox-mask) {
        border: 1px solid rgba(67, 69, 71, 1);
        background-color: unset;
      }
    }

    .startAlign {
      width: 128px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(49, 107, 255, 1);
      border: 1px solid rgba(14, 81, 255, 1);
      border-radius: 8px;
      font-family: Alibaba PuHuiTi 2.0;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0px;
      color: rgba(255, 255, 255, 1);
      cursor: pointer;
    }
  }
}